package com.dongdong.service;

import com.dongdong.Cart;
import com.dongdong.pojo.User;

import java.util.List;

public interface UserService {
    User selectNmae(String username);

    List<Cart> save(List<Cart> cartList, Long itemId, Integer num);

    List<Cart> getCartList(String username);

    void saveCartList(List<Cart> cartList1, String username);

    List<Cart> merageCartList(List<Cart> cartRedisList,List<Cart> cartCookiteList);
}
